From 84ee1e5d744cc0a4b4f65bc3a3c6dc8924ff626e Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 10 Nov 2005 22:37:11 +0000 Subject: [PATCH] Put email contact capture back in. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1577 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gpx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpsbabel/gpx.c b/gpsbabel/gpx.c index 8753788f7..d44bfd808 100644 --- a/gpsbabel/gpx.c +++ b/gpsbabel/gpx.c @@ -773,6 +773,9 @@ gpx_end(void *data, const char *el) break; case tt_email: gpx_add_to_global(&gpx_global->email, cdatastrp); + if (gpx_email == NULL) { + gpx_email = xstrdup(cdatastrp); + } break; case tt_url: gpx_add_to_global(&gpx_global->url, cdatastrp); -- 2.30.2